export interface MetaMap {
  name: string;
  icon?: any;
  role?: string[] | string;
  hidden?: boolean;
}
export interface RoutesMap {
  path: string;
  element: any;
  redirect: string;
  children: Array<RoutesMap>;
  meta: MetaMap;
}

export class RouteObjMap<T> {
  [key: string]: T;
}
